The Dreamweaver JavaScript API > History functions > dreamweaver.historyPalette.getSelectedSteps()

 

dreamweaver.historyPalette.getSelectedSteps()

Availability

Dreamweaver 3.0

Description

Determines which portion of the History panel is selected.

Arguments

None.

Returns

An array containing the position indices of all the selected steps.

Enabler

None.

Example

If the second, third, and fourth steps are selected in the History panel, as shown, a call to dw.historyPalette.getSelectedSteps() would return [1,2,3].